package com.qq.entity;

import javax.management.monitor.StringMonitor;

/*
    @author:sa
    @date:2024/11/15 15:35
*/
public class Phone {
    public String name;
    public String number;
    public String message;
    public String chat;

    public Phone() {
    }

    public Phone(String name, String number, String message, String chat){
        this.name=name;
        this.number=number;
        this.message=message;
        this.chat=chat;
    }
    public void sendMsg(){
        System.out.println(this.number+":"+message);
    }
}